<template>
  <div class="dashboard-container">
    <component :is="currentRole" />
  </div>
</template>

<script>
import { mapGetters } from 'vuex'
import groupDashboard from './group'
export default {
  name: 'Dashboard',
  components: { groupDashboard },
  data() {
    return {
      currentRole: 'groupDashboard'
    }
  },
  computed: {
    ...mapGetters([
      'name'
    ])
  }
}
</script>

